package com.nxu.entity;

public class Leave {
    private String Dname;
    private String Bdate;
    private String Edate;
    private String Lreason;
    private int Lid;
	public int getLid() {
		return Lid;
	}
	public void setLid(int lid) {
		Lid = lid;
	}
	public String getBdate() {
		return Bdate;
	}
	public void setBdate(String bdate) {
		Bdate = bdate;
	}
	public String getEdate() {
		return Edate;
	}
	public void setEdate(String edate) {
		Edate = edate;
	}
	public String getLreason() {
		return Lreason;
	}
	public void setLreason(String lreason) {
		Lreason = lreason;
	}
	
	public Leave(int lid, String bdate, String edate, String lreason, String dname) {
		super();
		Lid = lid;
		Bdate = bdate;
		Edate = edate;
		Lreason = lreason;
		Dname =dname;
	}
	public Leave(String dname, String bdate, String edate, String lreason) {
		super();
		Bdate = bdate;
		Edate = edate;
		Lreason = lreason;
		Dname =dname;
	}
	public Leave() {
		super();
		// TODO Auto-generated constructor stub
	}
	@Override
	public String toString() {
		return "Leave [Lid=" + Lid + ", Bdate=" + Bdate + ", Edate=" + Edate + ", Lreason=" + Lreason + ", Dname=" + Dname
				+ "]";
	}
	public String getDname() {
		return Dname;
	}
	public void setDname(String dname) {
		Dname = dname;
	}
    
    
}
